<template>
  <div class="test">
  <div class="hello"></div>
  <van-button type="default">11vant按钮</van-button>
  </div>
</template>

<script>
  import { Button } from 'vant';
  export default {
    name: 'HelloWorld',
    props: {
      msg: String
    },
    components:{
      [Button.name]:Button
    }
  }
</script>

<style scoped>
  .test {
    background-color: #000;
    width: 500px;
    height: 100px;
  }
</style>